!!!
%html
  %head
    %title= @html_title
    %meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
    %meta{"http-equiv"=>"X-UA-Compatible", :content=>"IE=edge"}/
    %meta{:name=>'viewport', :content=>'width=device-width, initial-scale=1'}/

    = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
    = javascript_include_tag :application, 'data-turbolinks-track': 'reload'
    -#%script{:src => "/assets/js/jquery-ui-1.10.3.min.js", "data-turbolinks-track" => 'true'}
    = csrf_meta_tag
    = yield(:head)
  %body
    .container-fluid.row-fluid{style: "padding-left: 0px; padding-right: 0px;"}
      = params[:notice]
      - flash.each do |name, msg|
        - notice_name = (name==:notice ? 'info' : 'danger')
        = content_tag :div, msg, :id => "flash_#{name}", :class=>"alert alert-#{notice_name} fade in"
    #content.container{style: 'width: 400px; margin: 0 auto;'}
      .row
        .col-xs-12
          .well.no-padding{style: 'margin-top:100px;'}
            %h5{style: 'text-align:center;'} 登录基恩后台
            = form_tag sessions_path, method: :post do
              = text_field_tag :username, nil, class: 'form-control', placeholder: "用户名"
              %br
              = password_field_tag :password, nil, class: 'form-control', placeholder: "密码"
              %br
              = submit_tag '登录', class: 'btn btn-default'